package com.kermel.common.util;

public class ThreadUtil {
    
    public static void pauseForSeconds(long howManySeconds) {
        long milliseconds = howManySeconds * DateTimeUtils.MILLISECONDS_PER_SECOND;
        pauseFor(milliseconds);
    }
    
    public static void pauseFor(long milliseconds) {
        try {
            Thread.sleep(milliseconds);
        } catch (InterruptedException e) {
            // Ignored
        }
    }
}
